Update new command help doc
authorStephen Becker IV <github@deathbyescalator.com>
Tue, 31 Jan 2017 00:49:23 +0000 (16:49 -0800)
committerStephen Becker IV <github@deathbyescalator.com>
Tue, 31 Jan 2017 00:54:18 +0000 (16:54 -0800)
Resolves #3473

Dearest reviewer,

I hope that all is well in rustland. I was reviewing some open issues
and saw this update to the help text for the new command. I have added
the suggested help text from issue #3473. I formated to the message to
match the publish bin's job flag.

Thank you for your time,
Becker

src/bin/new.rs

index d0bd8103973fd4f1cf82e2f0ace6be53ee60e111..df91c33b1771fa744c4876d422d1f06fd4470fd2 100644 (file)
@@ -31,7 +31,7 @@ Options:
                         control at all (none) overriding a global configuration.
     --bin               Use a binary (application) template
     --lib               Use a library template
-    --name NAME         Set the resulting package name
+    --name NAME         Set the resulting package name, defaults to the value of <path>
     -v, --verbose ...   Use verbose output (-vv very verbose/build.rs output)
     -q, --quiet         No output printed to stdout
     --color WHEN        Coloring: auto, always, never